SANTUARIO-630 - Log null input bytes as INFO rather than WARNING#552
SANTUARIO-630 - Log null input bytes as INFO rather than WARNING#552
Conversation
|
There are also signature exploits that leverage this sort of thing if the caller doesn't realize that nothing came back and was added to the digest. That's more of an issue with c14n, but... |
|
This seems to be the same issue we have been wondering about in our project. We are also using WSS4J for signing attachments and see the warning in logs. We have Let me elaborate a bit on what is happening:
Is there anything we can do differently to avoid the warning or is it, as coheigea suggests, a valid use-case where the |
|
This log message was added by me in e58c7e6. I think it was possibly misplaced. I'm fine with changing it to debug for now, and when I have more time I can figure out if it is necessary or should be moved to a different place. |
There are some valid use-cases where the data returned from the transform is null, as is the case for signing attachments in WSS4J where we work directly on the OutputStream. Currently this is logging a WARNING which is overkill, INFO seems more appropriate.
Note this is in the JSR-105 code.